Optimal. Leaf size=33 \[ -\frac{a^2}{b^3 (a+b x)}-\frac{2 a \log (a+b x)}{b^3}+\frac{x}{b^2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0416701, antiderivative size = 33, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ -\frac{a^2}{b^3 (a+b x)}-\frac{2 a \log (a+b x)}{b^3}+\frac{x}{b^2} \]
Antiderivative was successfully verified.
[In] Int[x^2/(a + b*x)^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{a^{2}}{b^{3} \left (a + b x\right )} - \frac{2 a \log{\left (a + b x \right )}}{b^{3}} + \int \frac{1}{b^{2}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**2/(b*x+a)**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0198876, size = 29, normalized size = 0.88 \[ \frac{-\frac{a^2}{a+b x}-2 a \log (a+b x)+b x}{b^3} \]
Antiderivative was successfully verified.
[In] Integrate[x^2/(a + b*x)^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.009, size = 34, normalized size = 1. \[{\frac{x}{{b}^{2}}}-{\frac{{a}^{2}}{{b}^{3} \left ( bx+a \right ) }}-2\,{\frac{a\ln \left ( bx+a \right ) }{{b}^{3}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^2/(b*x+a)^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.34096, size = 49, normalized size = 1.48 \[ -\frac{a^{2}}{b^{4} x + a b^{3}} + \frac{x}{b^{2}} - \frac{2 \, a \log \left (b x + a\right )}{b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/(b*x + a)^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.194601, size = 63, normalized size = 1.91 \[ \frac{b^{2} x^{2} + a b x - a^{2} - 2 \,{\left (a b x + a^{2}\right )} \log \left (b x + a\right )}{b^{4} x + a b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/(b*x + a)^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.29396, size = 31, normalized size = 0.94 \[ - \frac{a^{2}}{a b^{3} + b^{4} x} - \frac{2 a \log{\left (a + b x \right )}}{b^{3}} + \frac{x}{b^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**2/(b*x+a)**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.265744, size = 68, normalized size = 2.06 \[ \frac{2 \, a{\rm ln}\left (\frac{{\left | b x + a \right |}}{{\left (b x + a\right )}^{2}{\left | b \right |}}\right )}{b^{3}} + \frac{b x + a}{b^{3}} - \frac{a^{2}}{{\left (b x + a\right )} b^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^2/(b*x + a)^2,x, algorithm="giac")
[Out]